package com.example.ymm.modules1.service.hl;

import com.alibaba.fastjson.JSONObject;
import com.example.ymm.base.BaseService;
import com.example.ymm.model.TableList;
import com.example.ymm.model.YmPageDto;
import com.example.ymm.modules1.entity.hl.dkn.DknTrialItem;
import com.example.ymm.modules1.entity.hl.yw.YwMoneyAffirmLog;
import com.example.ymm.modules1.query.hl.DknTrialItemQueryCriteria;
import com.example.ymm.modules1.service.dto.heng.YwExcuteCreateDto;
import com.example.ymm.modules1.service.dto.heng.YwPostageCreateDto;
import com.example.ymm.modules1.service.dto.heng.YwZhongBuCreateDto;

import java.util.List;

public interface DknTrialItemService extends BaseService<DknTrialItem> {


    TableList<DknTrialItem> list(DknTrialItemQueryCriteria criteria, YmPageDto ymPage);

    List<DknTrialItem> queryAll(DknTrialItemQueryCriteria criteria);


    /**
     *
     * 配送费 排除
     * @param dto
     */
    void addExcludeData(YwExcuteCreateDto dto);


    /**
     * 获取排除数据
     * @return
     */
    List<JSONObject> getExcludeDataList(String approvalName);



    List<JSONObject> getItemDataList(String approveNo);


    /**
     * 删除排除
     * @param orderNo
     */
    void removeExcludeData(String orderNo);

}
